﻿<%@ Page Title="" Language="C#" MasterPageFile="~/HomePage.master" AutoEventWireup="true"
    CodeFile="ChuyenMuc.aspx.cs" Inherits="ChuyenMuc" %>

<%@ Register Assembly="PagerControl" Namespace="CutePager" TagPrefix="cc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <title>
        <asp:Literal ID="littitle" runat="server"></asp:Literal></title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
    <script type="text/javascript" src="js/jquery.countdown.js"></script>
    <asp:HiddenField ID="H_CatalogId" Value="0" runat="server" />
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <div class="deal_title_category deal_title_cate_silver">
                <span class="sp_title_category_tab">
                    <asp:Label ID="lblnhom" runat="server"></asp:Label>
                    điểm chấp nhận thẻ </span>
            </div>
            <asp:DataList ID="dlChuyenmuctt" runat="server" RepeatColumns="4" RepeatDirection="Horizontal"
                Width="100%">
                <ItemTemplate>
                    <div class="deal_content_product ordering_1 deal_content_product_silver   row-4-item">
                        <div class="deal_content_img_product">
                            <!-- title -->
                            <div class="deal_title_product deal_title_product_silver">
                                <asp:HyperLink ID="linkchuyenmuc" runat="server" CssClass="chuyenmuclink" NavigateUrl='<%# "~/SanPhamND.aspx?Id=" + Eval("Id") + "&TieuDe=" + 
Eval("TenDiaDiem") %>'>
<%# Eval("TenDiaDiem") %>
                                </asp:HyperLink>
                            </div>
                            <div class="deal_img_product">
                                <div style="position: absolute; z-index: 2000; width: 74px; height: 80px; padding: 25px 20px;
                                    display: table-cell; background: url(images/discount.png); background-repeat: no-repeat;
                                    color: #000">
                                    <span style="font-size: 21px">
                                        <%# Eval("PhanTram") %></span>%
                                </div>
                                <asp:HyperLink ID="linkchuyenmuc1" runat="server" CssClass="chuyenmuclink" NavigateUrl='<%# "~/SanPhamND.aspx?Id=" + Eval("Id") + "&TieuDe=" + 
Eval("TenDiaDiem") %>'>
<img class="img_full lazy" src='<%# "Upload/SanPham/" + Eval("AnhDaiDien") %>' 
data-original="/images/mtbfilemanager/MzE2/Y3JhYiBhbmQgcm9sbA==/4bqjbmggYsOsYQ==.jpg" width="265" height="170" style="display: inline;">
                                </asp:HyperLink>
                            </div>
                        </div>
                    </div>
                </ItemTemplate>
            </asp:DataList>
            <table border="0" cellspacing="10" cellpadding="10">
                <tbody>
                    <tr>
                        <td>
                            <cc1:Pager ID="Pager1" runat="server" PreviousClause='<html><img src="Images/prevBtn.gif" /></html>'
                                NextClause='<html><img src="Images/nextBtn.gif" /></html>' LastClause="" FirstClause=""
                                PageClause="<html><b>Trang </b></html>" OfClause=" /" PageSize="16" ToClause="đến"
                                ShowResultClause="Hiển thị từ" ShowingResultClause="Đang hiển thị từ" BackToPageClause="Quay lại trang"
                                NextToPageClause="Đến trang" OnCommand="Pager1_Command" ForeColor="#006600" Font-Bold="True" />
                        </td>
                    </tr>
                </tbody>
            </table>
        </ContentTemplate>
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="Pager1" EventName="Command" />
        </Triggers>
    </asp:UpdatePanel>
</asp:Content>
